/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package telaCadastros;


import managertelaCadastros.managerCadCliente;
import telasMensagem.MensagemConfirmacao;
import telasMensagem.MensagemInformacao;
import util.Mensagem;

/**
 *
 * @author fumio
 */
public class CadCliente extends javax.swing.JDialog {

    private static CadCliente instanciaCadCliente;
    private static managerCadCliente managerCadCliente;
    private static MensagemConfirmacao msgConfirmacao;
    private static MensagemInformacao msgInformacao;
    

    /**
     * Creates new form CadCliente
     */
    public CadCliente(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
        this.setTitle("Cadastro de Cliente");
    }

    public static CadCliente getInstance(managerCadCliente mnCadCliente) {
        instanciaCadCliente = new CadCliente(null, true);
        managerCadCliente = mnCadCliente;
        return instanciaCadCliente;
    }

    private void LimpaTela() {
        edtCnpj.setText("");
        edtNascimento.setText("");
        edtNome.setText("");
        edtRG.setText("");
        cmbUfExp.setSelectedIndex(0);
        edtEndereco.setText("");
        edtNumEndereco.setText("");
        edtComplemento.setText("");
        edtBairro.setText("");
        edtCodigoCidade.setText("");
        edtCidade.setText("");
        edtUF.setText("");
        edtObservacao.setText("");
        
        edtEmpresa.setText("");
        edtCargo.setText("");
        edtDataAdmissao.setText("");
        edtRemuneracao.setText("");
        edtTelefone.setText("");
        edtRamal.setText("");
        edtContato.setText("");
    }
    private boolean ValidaDados(){
        boolean resultado = true;
        if (edtNome.getText().equals("")) {
        
           Mensagem.informacaoCampoObrigatorio("Cliente", "Nome");
           edtNome.requestFocusInWindow();
        }
        return resultado;
                
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel2 = new javax.swing.JPanel();
        btnConfirmar = new javax.swing.JButton();
        btnCancelar = new javax.swing.JButton();
        btnSair = new javax.swing.JButton();
        pnlPessoais = new javax.swing.JTabbedPane();
        pnlProfissional = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        edtEmpresa = new javax.swing.JTextField();
        edtCargo = new javax.swing.JTextField();
        edtDataAdmissao = new javax.swing.JFormattedTextField();
        edtTelefone = new javax.swing.JFormattedTextField();
        edtRemuneracao = new javax.swing.JTextField();
        edtRamal = new javax.swing.JTextField();
        edtContato = new javax.swing.JTextField();
        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        edtCnpj = new javax.swing.JFormattedTextField();
        jLabel2 = new javax.swing.JLabel();
        edtNome = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        cmbUfExp = new javax.swing.JComboBox();
        jLabel6 = new javax.swing.JLabel();
        edtEndereco = new javax.swing.JTextField();
        edtNumEndereco = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        edtComplemento = new javax.swing.JTextField();
        btnPesquisaCidade = new javax.swing.JButton();
        edtCodigoCidade = new javax.swing.JTextField();
        edtCidade = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        edtUF = new javax.swing.JTextField();
        edtObservacao = new javax.swing.JTextField();
        jLabel10 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        edtBairro = new javax.swing.JTextField();
        edtNascimento = new javax.swing.JFormattedTextField();
        edtRG = new javax.swing.JFormattedTextField();
        jLabel19 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        jPanel2.setBorder(javax.swing.BorderFactory.createCompoundBorder(null, new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)));
        jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        btnConfirmar.setFont(new java.awt.Font("Ubuntu", 1, 18)); // NOI18N
        btnConfirmar.setText("Confirmar");
        btnConfirmar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnConfirmarActionPerformed(evt);
            }
        });
        jPanel2.add(btnConfirmar, new org.netbeans.lib.awtextra.AbsoluteConstraints(15, 10, 120, 75));

        btnCancelar.setFont(new java.awt.Font("Ubuntu", 1, 18)); // NOI18N
        btnCancelar.setText("Cancelar");
        btnCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarActionPerformed(evt);
            }
        });
        jPanel2.add(btnCancelar, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 10, 120, 75));

        btnSair.setFont(new java.awt.Font("Ubuntu", 1, 18)); // NOI18N
        btnSair.setText("Sair");
        btnSair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSairActionPerformed(evt);
            }
        });
        jPanel2.add(btnSair, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 10, 120, 75));

        pnlPessoais.setToolTipText("Dados Pessoais");

        jLabel11.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel11.setText("Empresa");

        jLabel12.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel12.setText("Cargo");

        jLabel13.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel13.setText("Telefone");

        jLabel14.setText("Remuneração");

        jLabel15.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel15.setText("Data Admissão");

        jLabel16.setText("Ramal");

        jLabel17.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel17.setText("Contato");

        try {
            edtDataAdmissao.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("##/##/####")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }

        javax.swing.GroupLayout pnlProfissionalLayout = new javax.swing.GroupLayout(pnlProfissional);
        pnlProfissional.setLayout(pnlProfissionalLayout);
        pnlProfissionalLayout.setHorizontalGroup(
            pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlProfissionalLayout.createSequentialGroup()
                .addGap(75, 75, 75)
                .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel11)
                    .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(pnlProfissionalLayout.createSequentialGroup()
                            .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addGroup(pnlProfissionalLayout.createSequentialGroup()
                                    .addComponent(jLabel12)
                                    .addGap(0, 0, Short.MAX_VALUE))
                                .addComponent(edtCargo))
                            .addGap(18, 18, 18)
                            .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel15)
                                .addComponent(edtDataAdmissao, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGap(18, 18, 18)
                            .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel14)
                                .addComponent(edtRemuneracao, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addComponent(jLabel17, javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, pnlProfissionalLayout.createSequentialGroup()
                            .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel13)
                                .addComponent(edtTelefone, javax.swing.GroupLayout.PREFERRED_SIZE, 164, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel16)
                                .addComponent(edtRamal, javax.swing.GroupLayout.PREFERRED_SIZE, 142, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addComponent(edtContato, javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(edtEmpresa, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 526, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(102, Short.MAX_VALUE))
        );
        pnlProfissionalLayout.setVerticalGroup(
            pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlProfissionalLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel11)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(edtEmpresa, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(pnlProfissionalLayout.createSequentialGroup()
                        .addComponent(jLabel12)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(edtCargo, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlProfissionalLayout.createSequentialGroup()
                        .addComponent(jLabel15)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(edtDataAdmissao, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlProfissionalLayout.createSequentialGroup()
                        .addComponent(jLabel14)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(edtRemuneracao, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(14, 14, 14)
                .addGroup(pnlProfissionalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlProfissionalLayout.createSequentialGroup()
                        .addComponent(jLabel13)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(edtTelefone, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlProfissionalLayout.createSequentialGroup()
                        .addComponent(jLabel16)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(edtRamal, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel17)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(edtContato, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(318, Short.MAX_VALUE))
        );

        pnlPessoais.addTab("Dados Profissionais", pnlProfissional);
        pnlProfissional.getAccessibleContext().setAccessibleName("Dados Profissionais");

        jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel1.setText("CPF/CNPJ");
        jPanel1.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 11, -1, -1));

        try {
            edtCnpj.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("###.###.###-##")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        edtCnpj.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                edtCnpjActionPerformed(evt);
            }
        });
        jPanel1.add(edtCnpj, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 34, 197, 30));

        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel2.setText("Nome");
        jPanel1.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 70, -1, -1));
        jPanel1.add(edtNome, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 93, 630, 30));

        jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel3.setText("Data Nascimento");
        jPanel1.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(519, 11, -1, -1));

        jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel4.setText("RG");
        jPanel1.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 129, -1, -1));

        jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel5.setText("UF Expedidor");
        jPanel1.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(531, 129, -1, -1));

        cmbUfExp.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO" }));
        cmbUfExp.setSelectedIndex(15);
        jPanel1.add(cmbUfExp, new org.netbeans.lib.awtextra.AbsoluteConstraints(531, 152, 160, 30));

        jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel6.setText("Endereço");
        jPanel1.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 194, -1, -1));
        jPanel1.add(edtEndereco, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 217, 552, 30));

        edtNumEndereco.setHorizontalAlignment(javax.swing.JTextField.TRAILING);
        jPanel1.add(edtNumEndereco, new org.netbeans.lib.awtextra.AbsoluteConstraints(619, 217, 72, 30));

        jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel7.setText("Número");
        jPanel1.add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(603, 194, 70, -1));

        jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel8.setText("Complemento");
        jPanel1.add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 260, -1, -1));
        jPanel1.add(edtComplemento, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 283, 329, 30));

        btnPesquisaCidade.setText("P");
        btnPesquisaCidade.setToolTipText("");
        btnPesquisaCidade.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPesquisaCidadeActionPerformed(evt);
            }
        });
        jPanel1.add(btnPesquisaCidade, new org.netbeans.lib.awtextra.AbsoluteConstraints(131, 348, 47, 30));
        jPanel1.add(edtCodigoCidade, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 349, 64, 30));
        jPanel1.add(edtCidade, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 350, 430, 30));

        jLabel9.setText("UF:");
        jPanel1.add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 330, -1, -1));
        jPanel1.add(edtUF, new org.netbeans.lib.awtextra.AbsoluteConstraints(615, 349, 76, 30));

        edtObservacao.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                edtObservacaoActionPerformed(evt);
            }
        });
        jPanel1.add(edtObservacao, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 458, 630, 79));

        jLabel10.setText("Observação");
        jPanel1.add(jLabel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 435, -1, -1));

        jLabel18.setText("Bairro");
        jPanel1.add(jLabel18, new org.netbeans.lib.awtextra.AbsoluteConstraints(408, 260, -1, -1));
        jPanel1.add(edtBairro, new org.netbeans.lib.awtextra.AbsoluteConstraints(408, 283, 283, 30));

        try {
            edtNascimento.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("##/##/####")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        edtNascimento.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                edtNascimentoActionPerformed(evt);
            }
        });
        jPanel1.add(edtNascimento, new org.netbeans.lib.awtextra.AbsoluteConstraints(519, 34, 172, 30));

        edtRG.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("####0"))));
        jPanel1.add(edtRG, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 152, 285, 30));

        jLabel19.setText("Cidade");
        jPanel1.add(jLabel19, new org.netbeans.lib.awtextra.AbsoluteConstraints(61, 325, -1, -1));

        pnlPessoais.addTab("Dados Pessoais", jPanel1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(pnlPessoais)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(0, 31, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(pnlPessoais)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        pnlPessoais.getAccessibleContext().setAccessibleDescription("");

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-747)/2, (screenSize.height-729)/2, 747, 729);
    }// </editor-fold>//GEN-END:initComponents

    private void btnConfirmarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConfirmarActionPerformed
        // TODO add your handling code here:
        if (Mensagem.confirmarCadastro("Cliente")) {
            if (ValidaDados()) {
                if (managerCadCliente.salvar()) {
                    LimpaTela();
                }
            }
        }
    }//GEN-LAST:event_btnConfirmarActionPerformed

    private void btnCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarActionPerformed
        // TODO add your handling code here:
        LimpaTela();
    }//GEN-LAST:event_btnCancelarActionPerformed

    private void btnSairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSairActionPerformed
        // TODO add your handling code here:
        this.dispose();
    }//GEN-LAST:event_btnSairActionPerformed

    private void edtObservacaoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_edtObservacaoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_edtObservacaoActionPerformed

    private void edtCnpjActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_edtCnpjActionPerformed
        // TODO add your handling code here:
    
    }//GEN-LAST:event_edtCnpjActionPerformed

    private void btnPesquisaCidadeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPesquisaCidadeActionPerformed
        // TODO add your handling code here:
        managerCadCliente.carregaPesquisaCidade();
    }//GEN-LAST:event_btnPesquisaCidadeActionPerformed

    private void edtNascimentoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_edtNascimentoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_edtNascimentoActionPerformed
    /**
     * @param args the command line arguments
     */
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCancelar;
    private javax.swing.JButton btnConfirmar;
    private javax.swing.JButton btnPesquisaCidade;
    private javax.swing.JButton btnSair;
    public javax.swing.JComboBox cmbUfExp;
    public javax.swing.JTextField edtBairro;
    public javax.swing.JTextField edtCargo;
    public javax.swing.JTextField edtCidade;
    public javax.swing.JFormattedTextField edtCnpj;
    public javax.swing.JTextField edtCodigoCidade;
    public javax.swing.JTextField edtComplemento;
    public javax.swing.JTextField edtContato;
    public javax.swing.JFormattedTextField edtDataAdmissao;
    public javax.swing.JTextField edtEmpresa;
    public javax.swing.JTextField edtEndereco;
    public javax.swing.JFormattedTextField edtNascimento;
    public javax.swing.JTextField edtNome;
    public javax.swing.JTextField edtNumEndereco;
    public javax.swing.JTextField edtObservacao;
    public javax.swing.JFormattedTextField edtRG;
    public javax.swing.JTextField edtRamal;
    public javax.swing.JTextField edtRemuneracao;
    public javax.swing.JFormattedTextField edtTelefone;
    public javax.swing.JTextField edtUF;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JTabbedPane pnlPessoais;
    private javax.swing.JPanel pnlProfissional;
    // End of variables declaration//GEN-END:variables
}
